home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10798 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: oxy.rust.net!usenet
  2. From: Neil <neil@aol2.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: HELP: How To Implement A Registration Period?
  5. Date: Sun, 10 Mar 1996 11:56:13 -0500
  6. Organization: None
  7. Message-ID: <314309AD.10E3@aol2.com>
  8. References: <Do0IKt.F8H@intruder.daytonoh.attgis.com>
  9. NNTP-Posting-Host: liv-27.rust.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  14.  
  15. Jeff,
  16.  
  17. Well, since I'm not C++ master, I can only give you theory
  18. on registration expiration dates.  Here is a quick pseudo-
  19. flow of how the program will run the FIRST TIME:
  20.  
  21. 1) Program executed
  22. 2) Check to see if installed before (date/hidden codes
  23.       in three different locations)
  24. 3) If NO -- write date/hidden codes to the three different
  25.       locations with current date. 
  26.     (GO TO MAIN PROGRAM PROCEDURE)
  27.  
  28. 3b)If YES (installed before) VERIFY ALL THREE DATES/HIDDEN
  29.       CODES are EXACTLY THE SAME.
  30.  
  31. 4) If ALL three NOT the same (GO TO (EXIT) PROCEDURE TO
  32.       boot them out)
  33.  
  34. 4b) If ALL THE SAME, COMPARE TO CURRENT DATE..
  35.  
  36. 5) If difference between CURRENT DATE & HIDDEN DATE
  37.       then they either changed the date BACKWARDS on their
  38.       system, or they figured out your date hiding scheme.
  39.       (GO TO (EXIT) PROCEDURE TO boot them out)
  40.  
  41. 5b) If difference between CURRENT DATE & HIDDEN DATE
  42.       is less than or eq to zer0, (GO TO (EXIT) PROCEDURE
  43.       TO boot them out)
  44.  
  45. I'd love to code this for you, but I am currently working
  46. on other C++/CGI apps right now.. <smile>  Take care.
  47.  
  48. Neil
  49. mailto:neil@aol2.com
  50.